let vm=new Vue({
    el:"#meetingMain",
    data:{
        // must元素
        flag:'',
        userLoginInfo:{},
    },
    methods:{
        logout: function () {
            axios({
                url: `user/logout`,
            }).then(res => {
                sessionStorage.clear();
                location.href = "logout";
            })
        },
    },
    created:function () {
        this.flag=6;
        let userInfo = sessionStorage.getItem("vmUserInfo");
        if (userInfo!=null){
            this.userLoginInfo=JSON.parse(userInfo);
        }else {
            location.href="";
        }

    },
    mounted(){
        // window事件对象调用this.xxx
        // window.onClickKeyCode=this.xxx
    },
});